Why are interfaces not [Serializable]?

Posted by Zac Harlan on Stack Overflow See other posts from Stack Overflow or by Zac Harlan
Published on 2010-04-14T16:59:03Z Indexed on 2010/04/14 17:13 UTC
Read the original article Hit count: 233

Filed under:
|
|
|

I would think that adding that attribute to an interface would be helpful make sure you do not create classes that use the interface and forget to make them serializable.

This could be a very fundamental question, but I wanted to ask the experts.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET